<div class="bg-light lter b-b wrapper-sm">
    <h1 class="m-n font-thin h4">承运商管理</h1>
</div>
<div class="wrapper-sm" ng-controller="carrierManagentController">
    <div class="panel panel-default">
        <div class="panel-heading font-bold">查询</div>
        <div class="panel-body">
            <label class="control-label pull-left m-t-xs w-xxss">承运商名称</label>
            <div class="col-md-2 form-group">
                <input type="text" class="form-control input-sm" id="table_carrierManagent_name" ng-model="name" placeholder="请输入承运商名称" name="name">
            </div>
            <label class="control-label pull-left m-t-xs w-xxss">承运商号码</label>
            <div class="col-md-2 form-group">
                <input type="tel" class="form-control input-sm" id="table_carrierManagent_carrierPhone" ng-model="phone" placeholder="请输入承运商号码" name="phone">
            </div>
            <label class="control-label pull-left m-t-xs w-xxss">承运商类型</label>
            <div class="col-md-2 form-group">
                <select id="table_carrierManagent_carrierType" name="carrierType" class="form-control input-sm" ng-model="type" ng-options="x.value as x.text for x in carriertypeList">
                    <option value="">全部</option>
                </select>
            </div>
            <label class="control-label pull-left m-t-xs w-xxss">启用状态</label>
            <div class="col-md-2 form-group">
                <select id="table_carrierManagent_isEnabled" name="isEnabled" class="form-control input-sm" ng-model="isEnabled">
                    <option value="">全部</option>
                    <option value="true">启用</option>
                    <option value="false">禁用</option>
                </select>
            </div>
            <div class="line line-xs pull-in"></div>
            <label class="control-label pull-left m-t-xs w-xxss">主营线路</label>
            <div class="col-md-2 form-group">
                <input type="text" class="form-control input-sm" id="table_carrierManagent_mainRoute" ng-model="mainRoute" placeholder="请输入主营线路" name="mainRoute">
            </div>
            <label class="control-label pull-left m-t-xs w-xxss">录入人</label>
            <div class="col-md-2 form-group">
                <input type="text" class="form-control input-sm" id="table_carrierManagent_inputPerson" ng-model="inputPerson" placeholder="请输入录入人" name="inputPerson">
            </div>
            <label class="control-label pull-left m-t-xs w-xxss">承运商等级</label>
            <div class="col-md-2 form-group">
                <select id="table_carrierManagent_carrierLevel" name="level" class="form-control input-sm" ng-model="level" ng-options="x.value as x.text for x in levelList">
                    <option value="">全部</option>
                </select>
			</div>
			<label class="control-label pull-left w-xxss"></label>
			<div class="form-group col-md-2 col-xs-12">
				<button id="table_carrierManagent_query" ng-click="Seek()" class="btn btn-sm btn-default btn-addon" ng-class="{'disabled':querying}" ng-disabled="querying">
                    <i class="fa fa-search" ng-show="!querying"></i>
                    <i class="fa fa-spinner no-bordr" ng-show="querying" ng-class="{'fa-spin':querying}"></i>
                    <span ng-show="!querying">查询</span>
                    <span ng-show="querying">查询中...</span>
                </button>
            </div>
        </div>
    </div>
    <div class="panel panel-default">
        <div class="panel-heading">
            承运商列表
        </div>
        <div class="table-responsive">
            <div ui-grid="gridOptions" ui-grid-selection ui-grid-pagination ui-grid-exporter ui-grid-auto-resize ui-grid-resize-columns style="height:{{heightA}}px; min-height:395px; overflow-y:hidden; min-width:1000px;">
                <div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
            </div>
        </div>
        <div class="panel-body">
            <button id="table_carrierManagent_add" ui-sref="app.carrier.carrierManagentAdd" class="pull-right-xs btn btn-sm btn-info btn-addon "><i class="fa fa-plus"></i>添加</button>
            <button id="table_carrierManagent_enabled" class="pull-right-xs btn btn-sm btn-success btn-addon" ng-click="enabled()"><i class="fa fa-check-circle"></i>启用</button>
            <button id="table_carrierManagent_disable" class="pull-right-xs btn btn-sm btn-primary btn-addon" ng-click="disable()"><i class="fa fa-minus-circle"></i>禁用</button>
            <button id="table_carrierManagent_export" ng-click="export()" class="pull-right-xs btn btn-sm btn-success btn-addon"><i class="fa fa-download"></i>导出报表</button>
        </div>
    </div>
</div>